package model

type Page struct{
	ID 				int 		`json:"id" gorm:"primary_key" desc:"页面id，自增"`
	ApplicationId 	int 		`json:"app_id" gorm:"not null" desc:"应用id"`
	Name 			string 		`json:"name" gorm:"type:varchar(50);not null" desc:"页面名称"`
	Type 			string 		`json:"type" gorm:"not null;default:'defaultNull'" desc:"页面类型：Ios,Android,微信小程序,微信公众号,支付宝小程序,EleUI,AntD"`
	Img 			string 		`json:"img" gorm:"type:varchar(200);not null;default:'defaultNull'" desc:"页面的图片"`
	Desc 			string 		`json:"desc" gorm:"type:varchar(150);default:'defaultNull'" desc:"描述"`
	CreatedAt 		Time 		`json:"created_at" gorm:"type:timestamp" desc:"创建时间"`
	UpdatedAt 		Time 		`json:"updated_at" gorm:"type:timestamp" desc:"更新时间"`
	DeletedAt		Time 		`json:"deleted_at" gorm:"type:timestamp" desc:"软删除时间"`
}